package com.gw.smscheck.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
* sys_log_mapping 实体类
* @author wjy 
* @date 2018-08-13 10:10:01
*/
@ApiModel(value="日志配置实体类",description="日志配置实体类")
public class LogMapping extends BasePager implements Serializable{
	private static final long serialVersionUID = -1L;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value="创建时间",name="createTime")
	private String createTime ;
	/**
	 * 创建人id
	 */
	@ApiModelProperty(value="创建人id",name="createUser")
	private Integer createUser ;
	/**
	 * 描述
	 */
	@ApiModelProperty(value="描述",name="description")
	private String description ;
	/**
	 * 
	 */
	@ApiModelProperty(value="id",name="id")
	private Integer id ;
	/**
	 * 状态
	 */
	@ApiModelProperty(value="状态",name="status")
	private Integer status ;
	/**
	 * 请求路径
	 */
	@ApiModelProperty(value="请求路径",name="url")
	private String url ;
	/**
	 * 敏感等级
	 */
	@ApiModelProperty(value="敏感等级",name="sensitiveType")
	private String sensitiveType;


	private String createUserName;//创建人名称

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	public String getCreateTime(){
		return createTime;
	}

	public void setCreateUser(Integer createUser){
		this.createUser=createUser;
	}
	public Integer getCreateUser(){
		return createUser;
	}

	public void setDescription(String description){
		this.description=description;
	}
	public String getDescription(){
		return description;
	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setStatus(Integer status){
		this.status=status;
	}
	public Integer getStatus(){
		return status;
	}

	public void setUrl(String url){
		this.url=url;
	}
	public String getUrl(){
		return url;
	}

	public String getSensitiveType() {
		return sensitiveType;
	}

	public void setSensitiveType(String sensitiveType) {
		this.sensitiveType = sensitiveType;
	}

	// 重写Object对象的equals方法
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		} else {
			if (obj == null) {
				return false;
			}
			final LogMapping logMapping = (LogMapping) obj;
			if (this.getId().equals( logMapping.getId() )) {
				return true;
			} else {
				return false;
			}
		}
	}
}

